#include <iostream>
#include "socket/client.h"
int main(){
	char ip[] = "127.0.0.1";
	client cli;
	int fd = cli.Connect(ip,1130);
	char buf[] = "Hello ,a msg from client";
	int cnt = cli.Send(fd,buf,strlen(buf));
	printf("发送:%d \n",cnt);
	char c[1024];
	cli.Recv(fd,c,1024);
	printf("%s\n",c);
	return 0;
}